<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>form demo</title>
</head>
<body>
    <form id="f1" action="//www.sogou.com/web" method="get">
        <input name="query" type="text">
        <div onclick="Submit();">提交</div>
    </form>
    <script>
        function Submit(){
            document.getElementById('f1').submit()
        }
    </script>


</body>
</html>